package di.ass.main.helps;

import di.ass.database.DatabaseHandler;
import di.ass.R;
import android.app.ListActivity;
import android.os.Bundle;

public class HelpUse extends ListActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		String[] strHelp = null;
		DatabaseHandler db = new DatabaseHandler(this);
		if (db.getLanguageUse().equals("Việt Nam")) {
			strHelp = getResources().getStringArray(R.array.help_use_vi);
		} else if (db.getLanguageUse().equals("English")) {
			strHelp = getResources().getStringArray(R.array.help_use_eng);
		}
		setListAdapter(new ListIconHelpAdapter(this, strHelp));

	}

}
